/*初始化样式*/

*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    position: relative;
    font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
}
body,html{
    -webkit-text-size-adjust: none;
    font-size: 1.4rem;
}
body{
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "微软雅黑";
}

ul,li,dl,dd,dt,p,ol,h1,h2,h3,h4,h5{
    font-size: 1.2rem;
    font-weight: 100;
    padding: 0;
    margin: 0;
}
img{
    vertical-align: middle;
    border: 0;
    display: inline-block;
}
a,input,button{
    outline: none;
}
a{
    color: #000;
}
table{
    border-collapse:collapse;
    /*word-break:break-all 文字换行*/
    /*white-space:nowrap 文字不换行*/
}
input{
    border: 0;
    margin: 0;
    padding: 0;
}
*::-webkit-input-placeholder{
    color: #ccc;
}
*:-moz-placeholder{
    color: #ccc;
}
*::-moz-placeholder{
    color: #ccc;
}
*:-ms-input-placeholder{
    color: #ccc;
}
/*去掉ios上的阴影*/
input,textarea{-webkit-appearance: none;appearance: none;}

/*默认滚动条样式修改ie9 google Firefox 等高版本浏览器有效*/
/*::selection {background: #D03333;color: white;text-shadow: none;}
::-webkit-scrollbar-track-piece{width:1rem;background-color:#f2f2f2}
::-webkit-scrollbar{width:1rem;height:0.6rem}
::-webkit-scrollbar-thumb{height:5rem;background-color:rgba(0,0,0,.3);}
::-webkit-scrollbar-thumb:hover{background:#cc0000}*/

/*渐变*/
/*background-image: -moz-linear-gradient(top, #8fa1ff, #3757fa);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f02), color-stop(1, #8f2c00)); Saf4+, Chrome
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); IE*/

/*主要公用样式*/
.touch-scroll{
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; /*使IOS滚动更流畅，可能会影响性能*/
}
.relative{
    position: relative;
}
.absolute{
    position: absolute;
}
.fixed{
    position: fixed;
}
.inline-block{
    display: inline-block;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}
.view-center{
    margin: 0 auto;
}
.overflow-hidden{
    overflow: hidden;
}
.img-circle{
    border-radius: 50%;
}
.line-through{
    text-decoration: line-through;
}
.float-left{
    float: left;
}
.float-right{
    float: right;
}
.hidden{
    display: none;
}
.block{
    display: block;
}
.text-indent{
    text-indent: 2rem;
}

/*底部栏*/
.bottom-navs{
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    background-color: #fff;
    border-top: 0.1rem solid #e5e5e5;
    padding: 1rem 0;
}
.bottom-nav{
    width: 33.33%;
    text-align: center;
}
.bottom-nav-img{
    height: 5.5vw;
    margin-bottom: 0.5rem;
}
.bottom-nav-name{
    color: #666;
    font-size: 1.4rem;
}
.bottom-nav.active .bottom-nav-name{
    color: #2aa145;
}

.ajax-loading, .content-loading{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
}
.ajax-loading-body, .content-loading-body{
    width: 100%;
    height: 100%;
}
.ajax-loading-main{
    background-color: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 0.5rem;
}
.ajax-loading-main > div{
    width: 100%;
}
.ajax-loading-img, .content-loading-img{
    width: 8vw;
    height: 8vw;
    background-image: url('../images/loading.gif');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}
.ajax-loading-tip{
    padding-top: 1rem;
    color: #fff;
    font-size: 1.6rem;
}
.content-loading-tip{
    display: none;
}

/*页面base样式*/
body{
    margin: 0;
}
/*弹框loading*/
#loading{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
}
.loading-main{
    width: 100%;
    height: 100%;
}
.loading{
    background-color: rgba(0,0,0,0.5);
    background-image: url('../images/loading.gif');
    background-position: center 4vw;
    background-repeat: no-repeat;
    background-size: 10vw auto;
    border-radius: 2vw;
    min-width: 25%;
    color: #fff;
    padding-top: 16vw;
    padding-bottom: 4vw;
    text-align: center;
    font-size: 0.8rem;
}
.loading-msg{
    padding-left: 5px;
    color: #fff;
}
/*无框loading*/
#getLoading{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
}
.get-loading-main{
    width: 100%;
    height: 100%;
}
.get-loading-img{
    background-image: url('/images/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 6vw;
    height: 6vw;
}
/*隐藏滚动条宽度，自适应电脑端的兼容*/
/* ::-webkit-scrollbar { */
    /*滚动条整体样式*/
    /* width: 0; */
    /* display: none; */
/* } */
::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
}
::-webkit-scrollbar-track {/*滚动条里面轨道*/
}


#loading {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    height: 100%;
 
}

.loading {
    height: auto;
    line-height: 1.1;
    padding-left: 5px;
    padding-right: 5px;
    background-position: center 15px;
    background-size: 35px;
    padding-top: 60px;
    padding-bottom: 15px;
    width: auto;
    max-width: 80%;
    min-width: 122px;
}

.loading-div {
    position: fixed;
    top: 44%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

.loading-middle {
    text-align: center;
}

.loading-msg {
    padding-left: 5px;
    color: #fff;
}